import { Injectable } from '@angular/core';
import { RequestClass } from './request.service';
@Injectable()
export class MapService {
    constructor(private requestclass: RequestClass) {}
    fetchAlertApplicant = async () => {
        return await this.requestclass.request.Pget('/chart/exceptionApplicant');
    };

    fetchTargetInfo = async ({ year }) => {
        return await this.requestclass.request.Pget('/chart/info', {
            params: {
                year,
            },
        });
    };
}
